MD_MAX72xx LED Matrix Arduino Library: src/MD_MAX72xx.h File Reference

| MD_MAX72xx LED Matrix Arduino Library 2.10 Library to control connected MAX72XX devices as a pixel array

Classes | Macros
MD_MAX72xx.h File Reference

Main header file for the MD_MAX72xx library. More...

`#include <Arduino.h>`
Include dependency graph for MD_MAX72xx.h:
This graph shows which files directly or indirectly include this file:

## Classes

class | MD_MAX72XX

## Macros

#define | USE_PAROLA_HW 1
#define | USE_GENERIC_HW 0
#define | USE_ICSTATION_HW 0
#define | USE_FC16_HW 0
#define | USE_OTHER_HW 0
#define | USE_LOCAL_FONT 1
#define | USE_INDEX_FONT 0
#define | ROW_SIZE 8
| The size in pixels of a row in the device LED matrix array.
#define | COL_SIZE 8
| The size in pixels of a column in the device LED matrix array.
#define | MAX_INTENSITY 0xf
| The maximum intensity value that can be set for a LED array.
#define | MAX_SCANLIMIT 7
| The maximum scan limit value that can be set for the devices.

## Detailed Description

Main header file for the MD_MAX72xx library.

## Macro Definition Documentation

## ◆ USE_FC16_HW

#define USE_FC16_HW 0

Set to 1 to use FC16 hardware module kits. FC16 modules are similar in format to the ICStation modules but are wired differently. Modules are identified by a FC-16 designation on the PCB

## ◆ USE_GENERIC_HW

#define USE_GENERIC_HW 0

Set to 1 to use 'generic' hardware modules commonly available, with connectors at the top and bottom of the PCB, available from many sources.

## ◆ USE_ICSTATION_HW

#define USE_ICSTATION_HW 0

Set to 1 to use ICStation DIY hardware module kits available from http://www.icstation.com/product_info.php?products_id=2609#.UxqVJyxWGHs This hardware must be set up with the input on the RHS.

## ◆ USE_INDEX_FONT

#define USE_INDEX_FONT 0

Set to 1 to enable font indexing to speed up font lookups - usually disabled. This will trade off increased stack RAM usage for lookup speed if enabled. When disabled lookups will then become linear searches through PROGMEM. Uses ASCII_INDEX_SIZE elements of uint16_t (512 bytes) if enabled. For most purposes the increase in speed is not needed.

USE_LOCAL FONT must be enabled for this option to take effect.

## ◆ USE_LOCAL_FONT

#define USE_LOCAL_FONT 1

Set to 1 (default) to enable local font in this library and enable loadChar() and related methods. If the library is just used for graphics some FLASH RAM can be saved by not including the code to process font data. The font file is stored in PROGMEM.

## ◆ USE_OTHER_HW

#define USE_OTHER_HW 0

Set to 1 to use other hardware not defined above. Module 0 (Data In) must be set up on the RHS and the CUSTOM hardware defines must be set up in the MD_MAD72xx_lib.h file under for this section, using the HW_Mapper utility to work out what the correct values to use are.

## ◆ USE_PAROLA_HW

#define USE_PAROLA_HW 1

Set to 1 (default) to use the Parola hardware modules. The software was originally designed to operate with this hardware type.